package com.example.book_recommend.pojo.userInfo;

import com.example.book_recommend.entity.User;

public class VueLoginResultInfo {
    private String token;

    private User user;

    private boolean isAdmin;

    public VueLoginResultInfo(String token, User user, boolean isAdmin) {
        this.token = token;
        this.user = user;
        this.isAdmin = isAdmin;
    }

    public String getToken() {return token;}

    public void setToken(String message) {this.token = token;}

    public User getUser() { return user;}

    public void setUser(User user) {this.user = user;}

    public void setIsAdmin(boolean isAdmin) {this.isAdmin = isAdmin;}

    public boolean getIsAdmin() { return isAdmin;}
}
